class CreateAdvers < ActiveRecord::Migration
  def self.up
    create_table :advers do |t|
      t.string :title,:content,:fujian
      t.integer :status,:ggtype_id,:user_id
      t.date :add_at
      t.timestamps
    end
  end

  def self.down
    drop_table :advers
  end
end
